home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1996 September
/
JCSM Shareware Collection (JCS Distribution) (September 1996).ISO
/
bother__
/
broker.zip
/
SBNSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-02-28
|
3KB
|
131 lines
echo OFF
CLS
IF "%1" == "" GOTO :bye
IF %1 == A GOTO goodbye
IF %1 == a goto goodbye
IF %1 == A: goto goodbye
if %1 == a: goto goodbye
IF %1 == B GOTO :FD
IF %1 == b GOTO :FD
IF %1 == B: GOTO :FD
IF %1 == b: GOTO :FD
:HD
CLS
echo SMARTBROKER INSTALLATION
echo for your Hard Disk
echo
echo
echo Copying...
%1:
CD \
MD SMART
CD SMART
COPY A:*.*
cd \
IF EXIST CONFIG.SYS GOTO :CFIGMSG
COPY A:CONFIG.SYS
REM USER HAS A CONFIG.SYS FILE
:CFIGMSG
echo
echo
echo
echo You already have a CONFIG.SYS file on your disk.
echo Check to make certain that it contains a line
echo with FILES=20 (or greater).
echo
echo
echo
GOTO END
:FD
CLS
echo SMARTBROKER INSTALLATION
echo for your Floppy Disk Drive
echo
echo
echo
echo Place a new formatted, bootable DOS diskette in drive B.
echo
echo
echo
PAUSE
IF EXIST B:COMMAND.COM GOTO CP1
echo WARNING! Disk in B: is not bootable. Replace with disk which
echo contains COMMAND.COM and DOS. If you need to prepare one at this
echo time, you may abort the program by pressing CTRL-C and answering
echo Y to the question given, preparing a disk with the command
echo FORMAT B:/S and then restarting installation.
echo Otherwise...SMARTBROKER will continue installation.
echo
PAUSE
IF EXIST B:COMMAND.COM GOTO CP1
echo Disk in B: is still not bootable. Please restart installation
echo after preparing a new disk.
goto END
:CP1
CLS
DIR B:
echo
echo
echo Please check the number of "bytes free" above. If this number is
echo LESS THAN 250000, not enough space remains on the disk to continue
echo the installation. To remedy this, replace the disk in drive B:
echo with a new, formatted disk with DOS and COMMAND.COM. If you need
echo to prepare one at this time, you may bye the program by pressing
echo CTRL-C and answering Y to the question given, preparing a disk with
echo the command FORMAT B:/S, and then restarting installation.
echo Otherwise... SmartBroker will continue installation.
echo
pause
echo
echo Copying...
COPY sb*.sbf B:
COPY Broker.EXE B:
Copy sbstocks.ovr b:
COPY *.sys B:
COPY sbAUTOEX.TXT B:AUTOEXEC.BAT
CLS
echo
echo
echo
echo Remove the disk from drive B and label it:
echo
echo "SMARTBROKER : System Disk".
echo
echo
echo
goto END
:bye
CLS
echo
echo
echo
echo
echo You must specify a disk drive letter after the SBNSTALL command.
echo This should be B for floppy disks or the letter designating
echo your hard disk if you have one (i.e. 'C')..
echo
echo
echo
GOTO :END
:goodbye
CLS
echo
echo
echo
echo
echo Please specify a drive letter other than A. Use B for floppy
echo disks or the letter you use for your hard disk if you have one
echo (i.e. 'C').
echo
echo
:END
echo When done...type "CD\SMART" then "BROKER" to run.